<!--
 * @Author: pengmingming
 * @Date: 2020-12-25 11:16:09
 * @LastEditors: pengmingming
 * @LastEditTime: 2020-12-25 13:19:11
 * @Description: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 150px;
            height: 100px;
            background: yellowgreen;
            margin: 20px;
            display: inline-block;
        }
        .box1 {
            box-shadow: 0 0 0 10px #656565;
        }
        .box2 {
            box-shadow: 0 0 0 10px #656565, 0 0 0 20px purple;
        }
        .box3 {
            outline: 10px solid red;
        }
        .box4 {
            outline: 10px solid red;
            box-shadow: 0 3px 4px 20px #564;
        }
    </style>
</head>
<body>
    <div class="box box1">
        box-shodow设置边框
    </div>
    <div class="box box2" onclick="alert('click')">
        box-shodow设置双重边框
    </div>
    <div class="box box3">
        outline设置边框
    </div>
    <div class="box box4">
        outline边框，box-shodow阴影
    </div>
</body>
</html>
